﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Nivdal
{
    public partial class ToUserPage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string UserId = "";
            if (Request.QueryString["Id"] != null)
                UserId = Request.QueryString["Id"];
            else if(Request.QueryString["UserId"] != null)
                UserId = Request.QueryString["UserId"];
            else
                Response.Redirect("~/Default.aspx");

            Response.Redirect("~/UserPage.aspx?Id=" + UserId);
            
        }
    }
}